All of the source code is completely free and open, available on GitHub under MIT licence, and we have a command-line version, python library and a node package ...
You may install the NPM package js-beautify . When installed globally, it provides an executable js-beautify script. As with the Python script, the beautified ...
This little beautifier will reformat and re-indent bookmarklets, ugly JavaScript, unpack scripts packed by Dean Edward's popular packer, as well as partly ...
2012年10月2日 — ... beautify.git cd js-beautify/python python setup.py install. Then you can simply use js-beautify /path/to/filename.js to have it run. Share.
As an alternative to the Python script, you may install the NPM package `js-beautify`. When installed globally, it provides an executable `js-beautify` script.